package com.chuangshi.core.vote.member.controller.mobile.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 会员移动端V1登录的接收参数
 *
 * @author marcus
 * 2018/11/20
 */
@ApiModel(description = "会员移动端V1手机验证码登录的接收参数")
public class MemberMobileV1LoginBySmsRequest extends Request {

	@ApiModelProperty(value = "code", required = true, position = 3)
	@NotNull(message = "code不能为空")
	@Length(max = 100, message = "code长度超出限制")
	private String code;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
